package com.poem.service;

import com.poem.dto.LoginDTO;
import com.poem.dto.RegisterDTO;
import com.poem.entity.Users;
import com.poem.vo.LoginInfo;

/**
 * @ClassName: AuthService
 * @Author: YLY
 * @Description:
 * @Date: 2025/10/21
 * @Version: 1.0
 */
public interface AuthService {
    LoginInfo login(LoginDTO loginDTO);

    void deleteUser(String username);

    void addUser(RegisterDTO registerDTO);

    Users getCurrentUser();

}
